package com.kksoft.readcm.objects;

import android.os.Bundle;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;

public final class g
{
  private HashMap a;

  public g()
  {
  }

  public g(Bundle paramBundle)
  {
    if (paramBundle == null);
    while (true)
    {
      return;
      //int[] arrayOfInt = paramBundle.getIntArray("IDs");
//      if (arrayOfInt == null)
//        continue;
//      String[] arrayOfString1 = paramBundle.getStringArray("titles");
//      String[] arrayOfString2 = paramBundle.getStringArray("messages");
//      int i = arrayOfInt.length;
//      int j = 0;
//      while (j < i)
//      {
//        int k = arrayOfInt[j];
//        String str1 = arrayOfString1[j];
//        String str2 = arrayOfString2[j];
//        StringBuilder localStringBuilder = new StringBuilder("error");
//        int m = arrayOfInt[j];
        //String str3 = m;
//        ErrorReport localErrorReport = (ErrorReport)paramBundle.getParcelable(str3);
//        a(k, str1, str2, localErrorReport);
//        j += 1;
//      }
    }
  }

  private HashMap b()
  {
    if (this.a == null)
    {
      HashMap localHashMap = new HashMap();
      this.a = localHashMap;
    }
    return this.a;
  }

  private ag e(int paramInt)
  {
    HashMap localHashMap = b();
    Integer localInteger = Integer.valueOf(paramInt);
    return (ag)localHashMap.get(localInteger);
  }

  public final Bundle a()
  {
    Bundle localBundle = new Bundle();
    int i = b().size();
    if (i == 0)
      localBundle = null;
    while (true)
    {
      return localBundle;
//      //int[] arrayOfInt = new int[i];
//      String[] arrayOfString2 = new String[i];
//      String[] arrayOfString1 = new String[i];
//      Iterator localIterator = b().values().iterator();
//      int j = 0;
//      while (true)
//      {
//        if (!localIterator.hasNext())
//        {
//          if (j <= 0)
//            break label203;
//         // localBundle.putIntArray("IDs", arrayOfInt);
//          localBundle.putStringArray("titles", arrayOfString2);
//          localBundle.putStringArray("messages", arrayOfString1);
//          break;
//        }
//        this = (ag)localIterator.next();
//        int k = a();
//        arrayOfInt[j] = k;
//        String str1 = b();
//        arrayOfString2[j] = str1;
//        String str2 = c();
//        arrayOfString1[j] = str2;
//        j += 1;
//        if (d() == null)
//          continue;
//        StringBuilder localStringBuilder = new StringBuilder("error");
//        int m = a();
//        String str3 = m;
//        ErrorReport localErrorReport = d();
//        localBundle.putParcelable(str3, localErrorReport);
//      }
//      label203: localBundle = null;
    }
  }

  public final String a(int paramInt)
  {
	return null;
//    Object localObject = e(paramInt);
//    if (localObject == null);
//    for (localObject = null; ; localObject = ((ag)localObject).b())
//      return localObject;
  }

  public final void a(int paramInt, String paramString1, String paramString2, ErrorReport paramErrorReport)
  {
    HashMap localHashMap = b();
    Integer localInteger = Integer.valueOf(paramInt);
    g localg = this;
    int i = paramInt;
    String str1 = paramString1;
    String str2 = paramString2;
    ErrorReport localErrorReport = paramErrorReport;
    ag localag = new ag(localg, i, str1, str2, localErrorReport);
    Object localObject = localHashMap.put(localInteger, localag);
  }

  public final String b(int paramInt)
  {
	return null;
//    Object localObject = e(paramInt);
//    if (localObject == null);
//    for (localObject = null; ; localObject = ((ag)localObject).c())
//      return localObject;
  }

  public final ErrorReport c(int paramInt)
  {
	return null;
//    Object localObject = e(paramInt);
//    if (localObject == null);
//    for (localObject = null; ; localObject = ((ag)localObject).d())
//      return localObject;
  }

  public final void d(int paramInt)
  {
    HashMap localHashMap = b();
    Integer localInteger = Integer.valueOf(paramInt);
    Object localObject = localHashMap.remove(localInteger);
  }
}